html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

a, .link { color: #104e8b; }
a:link, a:visited, a:active, .link { text-decoration: none; }
a:hover, .link:hover { text-decoration: underline; }

body {
    margin: 0;
    font-family: sans-serif;
    line-height: 150%;
}

input {
    border: 1px solid #999999;
    border-radius: 3px;
    font-size: 1.0em;
}

input[type=text] {
    width: 200px;
}

img {
    vertical-align: middle;
}

table {
    border-collapse: collapse;
    margin-top: 5px;
    margin-bottom: 5px;
}

tr:hover {
    background-color: #f5f5f5;
}

.navbar {
    margin: 0;
    padding: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 150%;
    border-bottom: 1px solid #ccc;
    background-color: #f5f5f5;
}

.navbar a {
    margin-right: 10px;
}

.navbar form a {
    margin-left: 10px;
    font-size: 1.0em;
    font-weight: bold;
}

#container {
    max-width: 800px;
}

.page {
    margin: 15px;
}

.page img {
    width: 16px;
    height: 16px;
}

@media screen and (max-width: 480px) {

    input {
        font-size: smaller;
    }

    input[type=text] {
        width: 100px;
    }
}

@media screen and (max-width: 600px) {

    .navbar form a {
        display: none;
    }
}
